import request from '@/utils/request'


// 获取读音
export function GetAudio(query) {
  return request({
    url: '/getaudio/dictvoice?type=1&audio=status',
    method: 'get',
    params: query
  })
}

// 查询Goover列表
export function listEnglish(query) {
  return request({
    url: '/Goover/English/list',
    method: 'get',
    params: query
  })
}

// 查询Goover详细
export function getEnglish(id) {
  return request({
    url: '/Goover/English/' + id,
    method: 'get'
  })
}

// 新增Goover
export function addEnglish(data) {
  return request({
    url: '/Goover/English',
    method: 'post',
    data: data
  })
}

// 修改Goover
export function updateEnglish(data) {
  return request({
    url: '/Goover/English/edit',
    method: 'post',
    data: data
  })
}

// 删除Goover
export function delEnglish(id) {
  return request({
    url: '/Goover/English/' + id,
    method: 'delete'
  })
}

//查询标签
export function GetLabel() {
  return request({
    url: '/Util/Util/GetLabel',
    method: 'get'
  })
}

//显示卡组
export function getdescription() {
  return request({
    url: '/Util/Util/GetDefaultCourse',
    method: 'get'
  })
}
